package com.hebeu.gfh.pojo.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

/**
 * @Author: 刘剑利
 * @Version: v1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class ResourceReservation {
    private int reservationId;
    private int clubId;
    private int resourceId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp endTime;
    private int reservedBy;
    private int reservationStatus;
}
